package patterns.builder;

/**
 * Created by lenovo on 2016/11/23 0023.
 * 薯条，实现具体包装和价格的具体组件类
 */
public class Chips extends Food {
    //名称
    @Override
    public String name() {
        return "薯条";
    }

    //价格
    @Override
    public float price() {
        return 7.5f;
    }
}
